package com.friends.common.tools.util;

/**
 * 操作结果码及结果消息
 * Created by fusio on 2018/9/15.
 */
public enum ResultCode {

    ALISIGNERROR("9995","云端签名异常"),
    USERREQERROR("9996","用户请求异常"),
    SIGNERROR("9997","签名错误"),
    PARAMERROR("9998","参数校验错误"),
    COMMONERROR("9999","操作发生错误"),
    SUCCESS("1000","操作成功");

    private String code;

    private String msg;

    private ResultCode( String code , String msg ){
        this.code = code ;
        this.msg = msg ;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
